package com.xgy.vue_role_system.service;

import com.xgy.vue_role_system.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


public interface PermissionService extends IService<Permission> {
    /**
     * 根据用户id查询其权限菜单列表
     * @param userId
     * @return
     */
    List<Permission> findPermissionListByUserId(Long userId);
}
